package com.xiaocg.strategy;

public class StrategyContext {
    private AbstractStrategy strategy;

    public void setStrategy(AbstractStrategy strategy) {
        this.strategy = strategy;
    }

    public void salesGoods(){
        strategy.show();
    }
}
